package com.lvy.hczn.front.system.domain.business;

import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lvy.hczn.front.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.lvy.hczn.front.common.core.domain.BaseModel;

/**
 * 商品出库单对象 warehousing_out
 *
 * @author ruoyi
 * @date 2023-05-30
 */
@Data
@TableName("warehousing_out")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "商品出库单")
@Deprecated
public class WarehousingOut extends BaseModel<WarehousingOut> {

    /**
     * 出库单编号
     */
    @Excel(name = "出库单编号")
    @ApiModelProperty(value = "出库单编号")
    private String boxOutboundCode;

    /**
     * 关联业务单号
     */
    @Excel(name = "关联业务单号")
    @ApiModelProperty(value = "关联业务单号")
    private String associatedOrderCode;

    /**
     * 出库类型：1：调拨出库,2：销售出库,3：报损出库
     */
    @Excel(name = "出库类型：1：调拨出库,2：销售出库,3：报损出库")
    @ApiModelProperty(value = "出库类型：1：调拨出库,2：销售出库,3：报损出库")
    private Integer type;

    /**
     * 仓库编号
     */
    @Excel(name = "仓库编号")
    @ApiModelProperty(value = "仓库编号")
    private String warehouseCode;

    /**
     * 货箱编号
     */
    @Excel(name = "货箱编号")
    @ApiModelProperty(value = "货箱编号")
    private String boxCode;

    /**
     * 原料
     */
    @Excel(name = "原料")
    @ApiModelProperty(value = "原料")
    private String spuId;

    /**
     * 规格
     */
    @Excel(name = "sku")
    @ApiModelProperty(value = "sku")
    private String skuCode;
    /**
     * 规格
     */
    @Excel(name = "规格")
    @ApiModelProperty(value = "规格")
    private String specCode;

    /**
     * 批次编号
     */
    @Excel(name = "批次编号")
    @ApiModelProperty(value = "批次编号")
    private String batchCode;

    /**
     * 入库总(箱/袋/盒/斤等)数
     */
    @Excel(name = "入库总(箱/袋/盒/斤等)数")
    @ApiModelProperty(value = "入库总(箱/袋/盒/斤等)数")
    private Integer quantity;

    /**
     * 货箱内某个商品入库总重
     */
    @Excel(name = "货箱内某个商品入库总重")
    @ApiModelProperty(value = "货箱内某个商品入库总重")
    private BigDecimal weight;

    /**
     * 标品数量单位(箱/袋/盒/斤等)
     */
    @Excel(name = "标品数量单位(箱/袋/盒/斤等)")
    @ApiModelProperty(value = "标品数量单位(箱/袋/盒/斤等)")
    private String unit;

    /**
     * 标品每箱包含的物件数量/份数
     */
    @Excel(name = "标品每箱包含的物件数量/份数")
    @ApiModelProperty(value = "标品每箱包含的物件数量/份数")
    private Integer numberOfPerBox;

    /**
     * 每份重量
     */
    @Excel(name = "每份重量")
    @ApiModelProperty(value = "每份重量")
    private BigDecimal weightOfPerBox;

    /**
     * 供应商
     */
    @Excel(name = "供应商")
    @ApiModelProperty(value = "供应商")
    private String supplierId;

    /**
     * 所属农户
     */
    @Excel(name = "所属农户")
    @ApiModelProperty(value = "所属农户")
    private String producerId;

}
